package com.infrastructure.salt;

import org.springframework.web.servlet.mvc.Controller;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpServletRequest;

public class SaltMgr implements Controller {

	public String viewSalt;
	
	
	public String getView() {
		return viewSalt;
	}


	public void setView(String view) {
		this.viewSalt = view;
	}


	@Override
	public ModelAndView handleRequest(HttpServletRequest arg0,
			HttpServletResponse arg1) throws Exception {
		// TODO Auto-generated method stub
		ModelAndView mv=new ModelAndView(viewSalt);
		 
		mv.addObject("cobbler", "hello salt");
		
		return mv;
	}

}
